package com.luojun.entity;

import java.util.HashSet;
import java.util.Set;

import com.pzc.entity.PersonManage;

public class User {
	private int userId;
	private String userName;
	private String password;
	private Set<Commodity> commodityS = new HashSet<Commodity>();
	private Set<Commodity> commodityCar = new HashSet<Commodity>();
	
	public User() {
		super();
	}
	public Set<Commodity> getCommodityCar() {
		return commodityCar;
	}
	public void setCommodityCar(Set<Commodity> commodityCar) {
		this.commodityCar = commodityCar;
	}
	private PersonManage manage;

	private Set<Car> cars = new HashSet<Car>();


	public Set<Commodity> getCommodityS() {
		return commodityS;
	}
	public void setCommodityS(Set<Commodity> commodityS) {
		this.commodityS = commodityS;
	}
	public Set<Car> getCars() {
		return cars;
	}
	public void setCars(Set<Car> cars) {
		this.cars = cars;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public PersonManage getManage() {
		return manage;
	}
	public void setManage(PersonManage manage) {
		this.manage = manage;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", password=" + password + ", manage=" + manage
				+ "]";
	}

	
}
